home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / elfdump.z / elfdump
Encoding:
Text File  |  2002-10-03  |  10.6 KB  |  232 lines

  1. ELFDUMP(1)                                             Last changed: 3-4-99
  2.  
  3.  
  4. NNAAMMEE
  5.      eellffdduummpp - Dumps selected parts of a 32-bit or a 64-bit ELF object
  6.      file/archive and displays them in ELF style
  7.  
  8. SSYYNNOOPPSSIISS
  9.      eellffdduummpp [--aa] [--AA] [--BB] [--bbrriieeff] [--cc] [--CC] [--ccmmtt] [--ccnntt] [--ccrr]
  10.      [--dd<_l_o_w_s_e_c_t_i_o_n>>,,<<_h_i_g_h_s_e_c_t_i_o_n>>] [--DDcc] [--DDgg] [--ddiinnffoo] [--ddiinnsstt] [--DDll]
  11.      [--ddssyymm] [--DDssyymmlliibb [[--DDtt] [--ee] [--ff] [--FF] [--gg] [--GG] [--hh] [--hhaasshh] [--ii]
  12.      [--iiffcc] [--iinnffoo] [--ll] [--LL] [--lloonngg] [--nn _s_e_c_t_i_o_n_n_a_m_e] [--nnoo__vveerrbboossee] [--oo]
  13.      [--oopp] [--pp] [--PPaaddddrrss] [--PPbbiinnmmaapp] [--PPffuunnccnnooddee] [--PPggrraapphh] [--PPppeerrff]
  14.      [--PPwweeaakk] [--rr] [--RR] [--rreegg] [--rrpptt] [--ss] [--ssvvrr44] [--tt]
  15.      [--TT<_l_o_w_i_n_d_e_x>,<_h_i_g_h_i_n_d_e_x>] [--vv] [--VV] [--xxll] [--xxlldd] _f_i_l_e
  16.  
  17. IIMMPPLLEEMMEENNTTAATTIIOONN
  18.      IRIX systems
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.      The eellffdduummpp command dumps selected parts of a given ELF object _f_i_l_e or
  22.      an archive _f_i_l_e.
  23.  
  24.      This command is supported on 32-bit or 64-bit ELF object files or ELF
  25.      archives only.  Unless otherwise noted in the option description,
  26.      options are supported on the O32, N32, and 64-bit ABIs.  In the case
  27.      of an archive, options other than --gg generate output from each object
  28.      in the archive.  When the requested data does not exist in an object,
  29.      and the --pp option is not specified, only a header will be printed.
  30.  
  31.      eellffdduummpp accepts one or more of these options:
  32.  
  33.      --aa   Dumps the archive header of each member of an archive.
  34.  
  35.      --AA   Prints the beginning address of a section.  For some section
  36.           ccoonntteenntt dduummppss it prints the virtual address for each line of
  37.           section output.
  38.  
  39.      --BB   Prints filename each detail line of output when --cc is specified.
  40.  
  41.      --bbrriieeff
  42.           Dumps most sections in the file like --hh, but leaves out sections
  43.           whose names begin with ..ddeebbuugg__, ..rreell, or ..MMIIPPSS..
  44.  
  45.      --cc   Dumps the string table.
  46.  
  47.      --CC   Dumps decoded C++ symbol names.
  48.  
  49.      --ccmmtt Dumps the .comment section.
  50.  
  51.      --ccnntt Dumps the .content sections.
  52.  
  53.      --ccrr  (O32 ABI only) Dumps compact relocation information.
  54.  
  55.      --dd<_l_o_w_s_e_c_t_i_o_n>,<_h_i_g_h_s_e_c_t_i_o_n>
  56.           Restricts range of sections printed.  The section numbers must be
  57.           decimal (not octal or hexadecimal).  Example: eellffdduummpp --ss --dd 88,,1100
  58.           ffoooo Use this to restrict the range of sections printed.  Various
  59.           special sections print regardless of this.
  60.  
  61.      --DDcc  Dumps conflict list in dynamic shared objects.
  62.  
  63.      --DDgg  Dumps got table in dynamic shared objects.
  64.  
  65.      --ddiinnffoo
  66.           Dumps ..MMIIPPSS..ddccllaassss section.
  67.  
  68.      --ddiinnsstt
  69.           Dumps ..MMIIPPSS..iinnsstt section.
  70.  
  71.      --DDll  Dumps library list in dynamic shared objects.
  72.  
  73.      --ddssyymm
  74.           Dumps ..MMIIPPSS..ssyymm section.
  75.  
  76.      --DDssyymmlliibb
  77.           Dumps ..MMIIPPSS..ssyymmlliibb.
  78.  
  79.      --DDtt  Dumps the dynamic symbol table (the ..ddyynnssyymm section).
  80.  
  81.      --ee   Dumps events sections.
  82.  
  83.      --ff   Dumps the ELF header.
  84.  
  85.      --FF   Dumps the literal tables.
  86.  
  87.      --gg   Dumps an archive symbol table.
  88.  
  89.      --GG   (O32 ABI only) Dumps gp table information.
  90.  
  91.      --hh   Dumps all section headers in the file.
  92.  
  93.      --hhaasshh
  94.           Dumps hash section entries.
  95.  
  96.      --ii   Dumps the ..iinntteerrpp section
  97.  
  98.      --iiffcc (n32 and 64 ABI only) Dump the ..MMIIPPSS..iinntteerrffaacceess section
  99.  
  100.      --iinnffoo
  101.           Dump information such as whether the object has been
  102.           requickstarted (rrqqss(1)) or ccoorrdd(1)ed.
  103.  
  104.      --ll   This option emits a message suggesting you use the ddwwaarrffdduummpp(1)
  105.           or ssttdduummpp(1) command to dump debugging line information.  For
  106.           objects compiled with -64 or -n32, use ddwwaarrffdduummpp.  For objects
  107.           compiled with -32, use ssttdduummpp.
  108.  
  109.      --LL   Dumps the ..ddyynnaammiicc (various flags and values) and the ..lliibblliisstt
  110.           (list of named DSOs) sections.  (The ..ddyynnaammiicc and ..lliibblliisstt
  111.           sections are used by rrlldd(1)).  The ..lliibblliisstt flag field prints D
  112.           if the LL_DELAY_LOAD bit is on, E if the LL_EXPORTS bit is on, R
  113.           if the LL_REQUIRE_MINOR bit is on, I if the LL_IGNORE_INT_VER bit
  114.           is on, and M if the LL_EXACT_MATCH bit is on.  To see these
  115.           sections with the values as uninterpreted numbers (for example,
  116.           to see the actual flag bits in the ..lliibblliisstt), specify the
  117.           --nnoo__vveerrbboossee option.
  118.  
  119.      --lloonngg
  120.           When specified with the --LL option, changes type names to print in
  121.           full, matching names in eellff..hh.  Affects only the --LL option.
  122.  
  123.      --nn sseeccttiioonnnnaammee
  124.           Dumps a named section.
  125.  
  126.      --nnoo__vveerrbboossee
  127.           Turn off --vv option.  For some fields that print string values,
  128.           names or interpreted flag values, this changes the output to be
  129.           the plain indexes or offsets or flag.
  130.  
  131.      --oo   Dumps each program execution header.
  132.  
  133.      --oopp  Dumps the ..ooppttiioonnss section.
  134.  
  135.      --pp   Suppresses printing of headings.
  136.  
  137.      --PPaaddddrrss
  138.           Dumps the ..MMIIPPSS..AAddddrrss section (a section created by ppiixxiiee).
  139.  
  140.      --PPbbiinnmmaapp
  141.           Dumps the ..MMIIPPSS..PPeerrff__bbbb__ooffffsseettss section (a section created by
  142.           ppiixxiiee).
  143.  
  144.      --PPffuunnccnnooddee
  145.           Dumps the ..MMIIPPSS..PPeerrff__ffuunnccttiioonn section (a section created by
  146.           ppiixxiiee).
  147.  
  148.      --PPggrraapphh
  149.           Dumps the ..MMIIPPSS..PPeerrff__ccaallll__ggrraapphh section (a section created by
  150.           ppiixxiiee).
  151.  
  152.      --PPppeerrff
  153.           Dumps the ..MMIIPPSS..PPeerrff__ttaabbllee section (a section created by
  154.           ppiixxiiee(1)).
  155.  
  156.      --PPwweeaakk
  157.           Dumps the ..MMIIPPSS..PPeerrff__wweeaakk__nnaammeess section (a section created by
  158.           ppiixxiiee).
  159.  
  160.      --rr   Dumps relocation information.
  161.  
  162.      --RR
  163.      --rreegg Dumps register information (..rreeggiinnffoo section).
  164.  
  165.      --rrpptt (O32 ABI only) Dumps runtime procedure table.
  166.  
  167.      --ss   Dumps contents of all sections (see --dd description).
  168.  
  169.      --ssvvrr44
  170.           Dump information in svr4 style.
  171.  
  172.      --tt   Dumps symbol table (the ..ssyymmttaabb section) entries.  (see also the
  173.           --TT <_l_o_w_i_n_d_e_x>,<_h_i_g_h_i_n_d_e_x> option).  (Programs and DSOs do not
  174.           normally have a ..ssyymmttaabb section.  For programs and DSOs, use the
  175.           --DDtt option to print the ..ddyynnssyymm section.)
  176.  
  177.      --TT <_l_o_w_i_n_d_e_x>>,,<<_h_i_g_h_i_n_d_e_x>>
  178.           Dumps the symbol table entries in the given range.  (Works like
  179.           --tt but restricted to a range of entries.)
  180.  
  181.      --vv   Prints information in verbose form.  This is the default.
  182.           Sometimes verbose means to interpret fields and print
  183.           symbolically.  To turn this off (therefore printing the fields
  184.           literally as numbers) use the --nnoo__vveerrbboossee option.
  185.  
  186.      --VV   Dumps version information.
  187.  
  188.      --xxll  Prints the ttrraannssllaattee section (Elf section type SHT_MIPS_XLATE) of
  189.           an object file.  See xxllaattee(4).  This is mostly intended for use
  190.           by those working on tools that create this section, such as
  191.           ccoorrdd(1) or ppiixxiiee(1).  O32-bit objects must be pixified.
  192.  
  193.      --xxlldd Prints the ttrraannssllaattee ddeebbuugg section (Elf section type
  194.           SHT_MIPS_XLATE_DEBUG) of an object file.  See xxllaattee(4).  This is
  195.           mostly intended for use by those working on tools that create
  196.           this section, such as ccoorrdd(1) or ppiixxiiee(1).  O32-bit objects must
  197.           be pixified.
  198.  
  199.      --xxllddii
  200.           Dumps the ttrraannssllaattee ddeebbuugg section (SHT_MIPS_XLATE_DEBUG) of an
  201.           object file in a form closely modeling the internal storage
  202.           details.  This is mostly intended for use by those working on
  203.           tools that create this section, such as ccoorrdd(1) or ppiixxiiee(1).
  204.           O32-bit objects must be pixified.
  205.  
  206.      --xxllii Dumps the ttrraannssllaattee section (SHT_MIPS_XLATE) of an object file in
  207.           a form closely modeling the internal storage details.  This is
  208.           mostly intended for use by those working on tools that create
  209.           this section, such as ccoorrdd(1) or ppiixxiiee(1).  O32-bit objects must
  210.           be pixified.
  211.  
  212.      The eellffdduummpp command tries to format information in a helpful way,
  213.      printing information in character, hexadecimal, octal, or decimal, as
  214.      appropriate.
  215.  
  216. NNOOTTEESS
  217.      The --DD and --ll options, which formerly dumped debugging and line
  218.      information, are no longer supported in eellffdduummpp.  To obtain debugging
  219.      and line number information for 64-bit objects and objects compiled
  220.      -n32, use the ddwwaarrffdduummpp command.  For objects compiled -32 use the
  221.      ssttdduummpp command.
  222.  
  223.      The interaction of options with each other is mostly unspecified and
  224.      the interactions can be surprising (with some option combinations a
  225.      section might be printed more than once, for example).
  226.  
  227. SSEEEE AALLSSOO
  228.      ddwwaarrffdduummpp(1), ssttdduummpp(1), aarr(4), eellff(4), aa..oouutt(4), xxllaattee(4), oodduummpp(1),
  229.      rrqqss(1)
  230.  
  231.      This man page is available only online.
  232.